<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>正在认证中...</title>
</head>
<body>
<script type="text/javascript">
        var userAgent = window.navigator.userAgent;
        if (/MicroMessenger/.test(userAgent)) {
            alert("微信认证通过!")
        } else if (/AlipayClient/.test(userAgent)) {
            window.location.href= 'https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id=2018112662315802&scope=auth_base&state=1000001&redirect_uri=http://47.107.255.155:8080/alipay_notify';
			alert('支付宝认证通过!');
        } else {
            alert('请使用微信或支付宝打开');
        }
</script>
</body>
</html>